home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000355_fdc@columbia.edu_Wed Oct 29 17:38:58 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: TEST NETWORK CONNECTION
Date: 29 Oct 2003 22:22:52 GMT
Organization: Columbia University
Lines: 23
Message-ID: <slrnbq0fds.a05.fdc@sesame.cc.columbia.edu>
References: <4c64004.0310290631.3b5f136c@posting.google.com> <slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067466172 2252 128.59.59.56 (29 Oct 2003 22:22:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Oct 2003 22:22:52 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14609
In article <slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>, Frank da Cruz wrote:
: In article <4c64004.0310290631.3b5f136c@posting.google.com>, Carl wrote:
:: I am trying to write a script which looks to see if a netwok
:: connection is available and if it is sent files over the network. If
:: the network is not available I want to initiate a script that will
:: send the files over a land line phone.
::
: echo "Trying net..."
: set host xxx
: if fail {
: echo "Net connection failed - trying phone..."
: set modem type yyy
:
Sorry, I left out a vital command here:
set line /dev/ttyS0 ; (or whatever) to open the serial port
: set speed 57600 ; or whatever
: dial 7654321
: if fail exit 1 "Phone connection failed too"
: }
- Frank